@import './iconfont/iconfont.css';

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  place-items: center;
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  background: radial-gradient(
    circle,
    rgba(238, 174, 202, 1) 0%,
    rgba(148, 187, 233, 1) 100%
  );
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

#app {
  width: 100%;
  text-align: center;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

.up-text {
  color: #f56c6c;
}

.down-text {
  color: #67c23a;
}

.score-text {
  font-weight: bold;
  font-size: 14px;
  margin-left: 8px;
}

.limit-up-text {
  color: #f56c6c;
  font-weight: bold;
}

/* 自定义表头排序图标颜色 */
.el-table .ascending .sort-caret.ascending {
  border-bottom-color: #409eff;
}

.el-table .descending .sort-caret.descending {
  border-top-color: #409eff;
}

.strong-prediction {
  font-weight: 600 !important;
  position: relative;
  padding-right: 22px !important;
  border-width: 2px;
}

.strong-prediction::after {
  content: '🔥';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

:deep(.el-tag.strong-prediction) {
  border-width: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

:deep(.el-tag.strong-prediction.el-tag--danger) {
  background-color: #fef0f0;
  color: #f56c6c;
  border-color: #f56c6c !important;
}

:deep(.el-tag.strong-prediction.el-tag--success) {
  background-color: #f0f9eb;
  color: #67c23a;
  border-color: #67c23a !important;
}

.buy {
  color: #b7fc9e;
  font-size: 14px;
}
.buy-600 {
  color: #2f0;
  font-size: 17px;
  font-weight: 600;
}
.buy-800 {
  color: #080;
  font-size: 20px;
  font-weight: 900;
}
.shake{
  color: #e3f304;
}
.sell {
  color: #f99494;
  font-size: 14px;
}
.sell-600 {
  color: #f10;
  font-size: 17px;
  font-weight: 600;
}
.sell-800 {
  color: #900;
  font-size: 20px;
  font-weight: 900;
}
